.class Lcom/direction/hold/ui/CommonActivity$14;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# instance fields
.field private synthetic a:Lcom/direction/hold/ui/CommonActivity;


# direct methods
.method constructor <init>(Lcom/direction/hold/ui/CommonActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CommonActivity$14;->a:Lcom/direction/hold/ui/CommonActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 5

    check-cast p1, Landroid/app/AlertDialog;

    const v0, 0x7f080048

    invoke-virtual {p1, v0}, Landroid/app/AlertDialog;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "--------- sKsize "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    const/4 v1, 0x0

    invoke-static {v1}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v1

    :try_start_0
    invoke-static {v0}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v0

    invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    sget-object v1, Lcn/cheln/explorer/config/a;->a:Ljava/lang/Float;

    if-eq v0, v1, :cond_0

    iget-object v1, p0, Lcom/direction/hold/ui/CommonActivity$14;->a:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CommonActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    const-string v2, "SP_IMAGE_FILTER_SIZE"

    const-string v3, "KEY_IMAGE_FILTER_SIZE"

    invoke-virtual {v0}, Ljava/lang/Float;->floatValue()F

    move-result v4

    invoke-static {v4}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v4

    invoke-static {v1, v2, v3, v4}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V

    sput-object v0, Lcn/cheln/explorer/config/a;->a:Ljava/lang/Float;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CommonActivity$14;->a:Lcom/direction/hold/ui/CommonActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/CommonActivity;->v()V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    move-object v0, v1

    goto :goto_0
.end method
